<?php echo $html->script(array('jquery')); ?>
<div class="content-box">
	<div class="box-body">
		<div class="box-header clear">
			<h2>Mẫu đánh giá điểm rèn luyện năm <?php echo $year ?></h2>
		</div>
		<div class="box-wrap clear" id="normalForm">
			<?php echo $form->create('UnionMemberReview', array('class'=>'validate-form form bt-space15')) ?>
			<div class="columns clear bt-space15">
				<div class="col2-3">
					<?php 
						foreach ($data as $pointfield)
						{ ?>
						<h4><?php echo $pointfield['PointField']['name'] ?></h4>
						<?php if(count($pointfield['PointFieldDetail']) != 1) { foreach ($pointfield['PointFieldDetail'] as $pfdetail) {?>	
							<div class="form-radio-item clear">
								<input type="radio" id="form[<?php echo $pointfield['PointField']['id'] ?>][<?php echo $pfdetail['id'] ?>]" name="form[<?php echo $pointfield['PointField']['id'] ?>][PointFieldDetail]" value="<?php echo $pfdetail['id'] ?>" class="radio fl-space required" /> <label for="form[<?php echo $pointfield['PointField']['id'] ?>][<?php echo $pfdetail['id'] ?>]" class="fl"><?php echo $pfdetail['description'] ?> (<?php echo $pfdetail['value'] ?> điểm)</label>
							</div>
							<?php } } else { $pfdetail=$pointfield['PointFieldDetail'][0] ?>
							<div class="form-checkbox-item clear">
								<input type="checkbox" id="form[<?php echo $pointfield['PointField']['id'] ?>][<?php echo $pfdetail['id'] ?>]" name="form[<?php echo $pointfield['PointField']['id'] ?>][PointFieldDetail]" value="<?php echo $pfdetail['id'] ?>" class="checkbox fl-space" /> <label for="form[<?php echo $pointfield['PointField']['id'] ?>][<?php echo $pfdetail['id'] ?>]" class="fl"><?php echo $pfdetail['description'] ?> (<?php echo $pfdetail['value'] ?> điểm)</label>
							</div>
						<?php } } ?>
						
					
																	
					
				</div>
			</div>	
			<?php echo $form->end(); ?>
			
		</div><!-- end of box-wrap -->
</div> <!-- end of box-body -->
</div> <!-- end of content-box -->